home *** CD-ROM | disk | FTP | other *** search
- # Common definitions for making a book
-
- include ${ROOT}/usr/include/make/releasedefs
-
- ROOT ?= /
- ITOOLROOT != echo $${ITOOLS_MNT:-$${TOOLROOT:-/}}
- TMPDIR ?= /usr/tmp
- TOOLROOTSAFE ?=
-
- include ${ROOT}/usr/include/make/commondefs
- #if exists($(ROOT)/usr/include/make/commonindexdefs)
- include $(ROOT)/usr/include/make/commonindexdefs
- #endif
-
-
- COMMONBOOKRULES = ${ROOT}/usr/include/make/commonbookrules
- COMMONFIGRULES = ${ROOT}/usr/include/make/commonfigrules
- COMMONPREPRULES = ${ROOT}/usr/include/make/commonpreprules
-
- # System tools needed
- RM = /bin/rm
- RMDIR = /bin/rmdir
- CP = /bin/cp
- MV = /bin/mv
- LS = /bin/ls
- AWK = /usr/bin/awk
- EGREP = /usr/bin/egrep
-
- # Our local tools needed
- #if $(RELEASE_MINOR) == "2"
- INDEXGEN = ${ITOOLROOT}/usr/share/Insight/bin/indexGen
- #else
- INDEXGEN = $(TOOLROOTSAFE) ${ITOOLROOT}/usr/share/Insight/bin/indexGen
- #endif
- MAKEBW = ${ITOOLROOT}/usr/share/Insight/bin/makebw
- GLOSSQA = ${ITOOLROOT}/usr/share/Insight/bin/glossQA
- SGIBOOK_QA = ${ITOOLROOT}/usr/share/Insight/bin/sgibook_qa
- EPS2GIF = ${ITOOLROOT}/usr/share/Insight/bin/eps2gif
- TOGIF = ${ITOOLROOT}/usr/share/Insight/bin/togif
- XREF = ${ITOOLROOT}/usr/share/Insight/bin/xref
- COPY_SGIDOC_FIGS = ${ITOOLROOT}/usr/share/Insight/bin/valid_sgidoc_figs
- COPY_HELPMAPS = ${ITOOLROOT}/usr/share/Insight/bin/valid_helpmaps
- CLEAN_CGMS = ${ITOOLROOT}/usr/share/Insight/bin/clean_cgms
- #if $(RELEASE_MINOR) == "2"
- MIF2SGML = ${ITOOLROOT}/usr/share/Insight/bin/mif2sgml
- #else
- MIF2SGML = $(TOOLROOTSAFE) ${ITOOLROOT}/usr/share/Insight/bin/mif2sgml
- #endif
- TIFFTOPNM = ${ITOOLROOT}/usr/share/Insight/bin/tifftopnm
- PNMCROP = ${ITOOLROOT}/usr/share/Insight/bin/pnmcrop
- PNMMARGIN = ${ITOOLROOT}/usr/share/Insight/bin/pnmmargin
- PNMSCALE = ${ITOOLROOT}/usr/share/Insight/bin/pnmscale
- PPMQUANT = ${ITOOLROOT}/usr/share/Insight/bin/ppmquant
- #if $(RELEASE_MINOR) == "2"
- DTL2SGFT = ${ITOOLROOT}/usr/sbin/dtl2sgft
- #else
- DTL2SGFT = $(TOOLROOTSAFE) ${ITOOLROOT}/usr/sbin/dtl2sgft
- #endif
- # 3rd party application definitions --- if not already defined
- CLHOME ?= ${ITOOLROOT}/usr/share/cadleaf
- EBTHOME ?= ${ITOOLROOT}/usr/share/ebt
- EBTRC ?= ${EBTHOME}/ebtrc/.ebtrc
- EBT_PLATFORM ?= irix5m
-
- # 3rd party tools needed
- FMHOME ?= ${ITOOLROOT}/usr/frame
- FMBATCH = ${FMHOME}/bin/fmbatch
- MIFHEADER = "<MIFFile 4.00> \# Generated by FrameMaker xm4.0.3P1a"
- MIFTOCGM = ${CLHOME}/bin/miftocgm
- CGMTOTIFF = ${CLHOME}/bin/cgmtotiff
- CLTRANS = ${CLHOME}/bin/cltrans
- ### CLHOST = king.esd
- MIFTOCGM_IP = orig/.rgb
- SGMLRVW = ${EBTHOME}/bin/sgmlrvw
- MKHELP = ${EBTHOME}/bin/mkhelp
- MKBOOK = ${EBTHOME}/bin/mkbook
- MKSGIDOC = ${EBTHOME}/bin/mksgidoc
- PUBBOOK = ${EBTHOME}/bin/pubbook
-
- ENTITIES_DIR = ${ITOOLROOT}/usr/share/Insight/templates/entities
- CONDITION_FILE = ${ITOOLROOT}/usr/share/Insight/templates/frame/conditional.doc
- XHELP_LIB = ${ITOOLROOT}/usr/share/Insight/xhelp
- DOCBOOK_LIB = ${ITOOLROOT}/usr/share/Insight/templates/docbook
- CRAYDOCBK_LIB = ${ITOOLROOT}/usr/share/Insight/templates/CRAYDOCBK
- SGIDOC_LIB = ${ITOOLROOT}/usr/share/Insight/templates/SGIDOC
- INTL_MAP_DIR = ${ITOOLROOT}/usr/share/Insight/templates/SGIDOC/intl_map
-
- # Local rules file for figures
- LOCALFIGRULES = localfigrules
-
- # Book defines
- BOOK = ${TITLE}
- HELP_FILE = ${TITLE}.sgm
- BOOKSHELF = /usr/share/Insight/library/SGI_bookshelves/SGI_EndUser
- SHELF != echo ${BOOKSHELF} | sed "s/.*\///"
- BOOK_ICON = generic
- BOOK_LANG = C
- DTD = SGIDOC
- HIDDEN = FALSE
- SORT_ORDER = ""
- SGICONTAINER = ""
- FEEDBACK_ADDR = techpubs@sgi.com
- BOOKDIR = books/${BOOK}
- BOOKSUBSYSTEM != echo ${TITLE} | tr "[a-z]" "[A-Z]"
- HELPSUBSYSTEM = ${BOOKSUBSYSTEM}_HELP
- HELPDIR = /usr/share
- INDEX_GRAN ?= "<INTRODUCTION> OR <CHAPTER> OR <APPENDIX> OR <GLOSSARY> OR <SGIINDEX> OR <Reference>"
- HTML_EXTS = html htm gif jpg jpeg mpg map
-
- DOMAIN = books
- PRODUCTBASE = ${BOOKSUBSYSTEM}
-
- MASTER_SGM = ${BOOK}.sgml
- TMP_MASTER_SGM = ${BOOK}.sgml.tmp
- INDEXFILE = ${BOOK}.idx
-